﻿using Common.Communal;
using MediatR;
using ERP.Domain.Products;

namespace Product.API.Read.Applications.Commands.Material
{
    /// <summary>
    /// 物料显示命令
    /// </summary>
    public class MaterialShowCommand : IRequest<ApiResult<ApiPaging<ERP.Domain.Products.Material>>>
    {
        /// <summary>
        /// 页码
        /// </summary>
        public int pageIndex { get; set; }

        /// <summary>
        /// 页容量
        /// </summary>
        public int pageSize { get; set; }

        /// <summary>
        /// 物料名称
        /// </summary>
        public string? MaterialName { get; set; }

        /// <summary>
        /// 物料类型
        /// </summary>
        public string? MaterialType { get; set; }

        /// <summary>
        /// 启用状态
        /// </summary>
        public bool? ActivationStatus { get; set; } = true;

        /// <summary>
        /// 物料分类
        /// </summary>
        public string? MaterialClassification { get; set; }

        /// <summary>
        /// 物料属性
        /// </summary>
        public string? MaterialAttribute { get; set; }

    }
}
